<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('查看申请顶岗实习信息')"/>
    <th:block th:include="include :: ztree-css"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-role-edit" th:object="${stuAndWork}">
        <input id="stuAndWorkId" name="stuAndWorkId" th:field="*{stuWorkId}" type="hidden"/>
        <div class="form-group">
            <label class="col-sm-3 control-label ">学生学号：</label>
            <div class="col-sm-8">
                <input class="form-control" id="studentId" name="studentId" readonly th:field="*{studentId}"
                       type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label ">学生姓名：</label>
            <div class="col-sm-8">
                <input class="form-control" id="studentName" name="studentName" readonly th:field="*{studentName}"
                       type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label ">实习企业：</label>
            <div class="col-sm-8">
                <input class="form-control" id="company" name="company" readonly th:field="*{company}" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label ">实习地点：</label>
            <div class="col-sm-8">
                <input class="form-control" id="site" name="site" readonly th:field="*{site}" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label ">开始时间：</label>
            <div class="col-sm-8">
                <input class="form-control" id="begining" name="begining" readonly th:field="*{begining}" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label ">结束时间：</label>
            <div class="col-sm-8">
                <input class="form-control" id="ending" name="ending" readonly th:field="*{ending}" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label ">实习内容：</label>
            <div class="col-sm-8">
                <textarea class="form-control" id="content" name="content" readonly th:field="*{content}"
                          type="text"></textarea>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label ">置换课程：</label>
            <div class="col-sm-8">
                <input class="form-control" readonly th:each="course : ${courses}" th:value="${course}">
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer"/>
<th:block th:include="include :: ztree-js"/>
<th:block th:include="include :: datetimepicker-js"/>
<script type="text/javascript">
    $(function () {

    });

    function submitHandler() {
        //获取窗口索引
        var index = parent.layer.getFrameIndex(window.name);
        parent.layer.close(index);
    }
</script>
</body>
</html>
